package com.apexedu.biz.entity.client;

import java.util.List;

/**
 * 鉴权结果数据传递对象
 * User: 杨建亮
 * Date: 13-11-13  下午1:17
 */
public class CommandResult {
    private boolean hasError = false; // 命令执行是否有错
    private String error; // 错误描述

    ResourceEntity resourceEntity;
    List<ResourceEntity> resourceEntities ;
    List<RoleEntity> roleEntities;
    List<RoleResourceMapEntity> roleResourceMapEntities;
    List<RoleUserMapEntity> roleUserMapEntities;
    List<AccessAppRegInfo> accessAppRegInfos;
    List<UserEntity> userEntities;
    List<StuDsfjc> stuDsfjcs;
    List<JzgDsfjc> jzgDsfjcs;
    List<OrgDsfjc> orgDsfjcs;

    public boolean isHasError() {
        return hasError;
    }

    public void setHasError(boolean hasError) {
        this.hasError = hasError;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public List<ResourceEntity> getResourceEntities() {
        return resourceEntities;
    }

    public void setResourceEntities(List<ResourceEntity> resourceEntities) {
        this.resourceEntities = resourceEntities;
    }

    public ResourceEntity getResourceEntity() {
        return resourceEntity;
    }

    public void setResourceEntity(ResourceEntity resourceEntity) {
        this.resourceEntity = resourceEntity;
    }

    public List<RoleEntity> getRoleEntities() {
        return roleEntities;
    }

    public void setRoleEntities(List<RoleEntity> roleEntities) {
        this.roleEntities = roleEntities;
    }

    public List<RoleResourceMapEntity> getRoleResourceMapEntities() {
        return roleResourceMapEntities;
    }

    public void setRoleResourceMapEntities(List<RoleResourceMapEntity> roleResourceMapEntities) {
        this.roleResourceMapEntities = roleResourceMapEntities;
    }

    public List<RoleUserMapEntity> getRoleUserMapEntities() {
        return roleUserMapEntities;
    }

    public void setRoleUserMapEntities(List<RoleUserMapEntity> roleUserMapEntities) {
        this.roleUserMapEntities = roleUserMapEntities;
    }

    public List<AccessAppRegInfo> getAccessAppRegInfos() {
        return accessAppRegInfos;
    }

    public void setAccessAppRegInfos(List<AccessAppRegInfo> accessAppRegInfos) {
        this.accessAppRegInfos = accessAppRegInfos;
    }

    public List<UserEntity> getUserEntities() {
        return userEntities;
    }

    public void setUserEntities(List<UserEntity> userEntities) {
        this.userEntities = userEntities;
    }

    public List<StuDsfjc> getStuDsfjcs() {
        return stuDsfjcs;
    }

    public void setStuDsfjcs(List<StuDsfjc> stuDsfjcs) {
        this.stuDsfjcs = stuDsfjcs;
    }

    public List<JzgDsfjc> getJzgDsfjcs() {
        return jzgDsfjcs;
    }

    public void setJzgDsfjcs(List<JzgDsfjc> jzgDsfjcs) {
        this.jzgDsfjcs = jzgDsfjcs;
    }

    public List<OrgDsfjc> getOrgDsfjcs() {
        return orgDsfjcs;
    }

    public void setOrgDsfjcs(List<OrgDsfjc> orgDsfjcs) {
        this.orgDsfjcs = orgDsfjcs;
    }
}
